<%@ page contentType="text/html;charset=UTF-8"%>  
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<style>
.index_person{background: url(${ctxWebStatic}/images/index_person.png) no-repeat left bottom;}
.index_person_hover{background: url(${ctxWebStatic}/images/index_person.png) no-repeat left 1px;}
</style>
<script>
$(function () {
$(".item_three").hover(function(){
	$(this).addClass("item_bg");
	$(".item_three").find(".index_person").addClass('index_person_hover');
	$(this).find("img").attr('src',"${ctxWebStatic}/images/top_trangle.png");
   	$(".item_three").find("span").css("color","#d3001e");
   	$(".drap_down").show();
},function(){
	$(this).removeClass("item_bg");
	$(".item_three").find(".index_person").removeClass('index_person_hover');
	$(this).find("img").attr('src',"${ctxWebStatic}/images/drap_trangle.png");
	$(".item_three").find("span").css("color","#666");
	$(".drap_down ").hide();
});
})
</script>
<!--头部-->
	<header>
		<div class="topnav">
			<div class="topnav_list">
				<ul class="clearfix topnav_list_right">
					<c:if test="${webUser != null}">
					<li class="item_one">
						<a href="${ctxWeb}/order/fastOrder">
							<i class="index_Qorder"></i>
							<span>快速下单</span>
						</a>
					</li>
					<li class="item_two">
						<a href="${ctxWeb}/order/myOrder">
							<i class="index_order"></i>
							<span>订单管理</span>
						</a>
					</li>
					<li class="item_three">
						<a href="javascript:void(0);">
							<i class="index_person"></i>
							<span>用户中心</span>
							<img src="${ctxWebStatic}/images/drap_trangle.png" alt="" />
							<div class="drap_down">
								<p><a href="${ctxWeb}/userInfo">个人信息</a></p>
								<p><a href="${ctxWeb}/companyInfo">企业信息</a></p>
								<p><a href="${ctxWeb}/webInvoice">发票信息</a></p>
								<p><a href="${ctxWeb}/myAddress/myAddressList">我的地址</a></p>
								<p><a href="${ctxWeb}/enquire/sendEnquireGoodsPrice">发布询价</a></p>
								<p><a href="${ctxWeb}/enquire/myEnquireList">我的询价单</a></p>
								<p><a href="${ctxWeb}/exchangeHistory">退换货记录</a></p>
								<p><a href="${ctxWeb}/home/myCredit">我的信用额度</a></p>
							</div>
						</a>
					</li>
					</c:if>
					<li class="item_four">
						<a href="${ctxWeb}/help/helpList?classesType=0">
							<i class="index_help"></i>
							<span>帮助中心</span>
						</a>
					</li>
				</ul>
				<!--登陆信息-->
				<div class="welcom">
					<c:choose>
						<c:when test="${not empty webUser}">
								<c:if test="${webUser.userType == 1}">欢迎,${webUser.loginName}</c:if>
								<c:if test="${webUser.userType == 2}">欢迎,${webUser.company}</c:if>
							<a href="${ctxWeb}/logout"> [退出]</a>
							<c:if test="${webUser.userType == 1 && webUser.examineState != 2}">
								<a href="${ctxWeb}/register/toAssociator"> [升级]</a>
							</c:if>
						</c:when>
						<c:when test="${empty webUser}">
							您好，欢迎来到极配正品！
							<a href="${ctxWeb}/login">[登录]</a>
							<a href="${ctxWeb}/register"> [注册]</a>
						</c:when>
					</c:choose>
				</div>
				<!--登陆信息结束-->
			</div>
		</div>
	</header>